﻿#ifndef DEBUGDIALOG_H
#define DEBUGDIALOG_H

#include <QDialog>
#include "ctcpsocketclient.h"

namespace Ui {
class DebugDialog;
}

class DebugDialog : public QDialog
{
    Q_OBJECT

public:
    explicit DebugDialog(QWidget *parent = nullptr);
    ~DebugDialog();

    void connectDebugServer(void);
    void disconnectDebugServer(void);

public slots:
    void onprocessdebugsocketmessage(TcpSocket *psocket,QString message);

private slots:
    void on_pushButton_clicked();

private:
    Ui::DebugDialog *ui;

    TcpSocket *m_TcpSocket;
};

#endif // DEBUGDIALOG_H
